package com.ur.service;

import java.util.List;

import org.nutz.dao.Condition;
import org.nutz.dao.pager.Pager;
import org.nutz.ioc.loader.annotation.IocBean;

import com.ur.bean.User;

@IocBean
public interface UserService {
	
	public boolean delete(int referenceId);
	
	public boolean add(User user);
	
	public boolean update(User user);
	
	public List<User> query(Condition condition, Pager pager);
	
	public int getTotalCount();

}
